package homework;

import java.util.Scanner;

public class judge {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数：");
        int num = sc.nextInt();
        if (num%2==0){
            System.out.println("这个数为偶数");
        }else{
            System.out.println("这个数不为偶数");
        }
    }
}
